<template>
  <div style="padding: 10px">
    去除空格
    <d-input v-model="value" placeholder="请输入"></d-input>
    <p>value值：{{ value }}</p>
    最大值100
    <d-input
      v-model="valuemax"
      placeholder="请输入"
      :max="100"
      type="number"
      :format="{ decimal: 3 }"></d-input>
    <p>value值：{{ valuemax }}</p>
    最小值9
    <d-input v-model="valuemin" placeholder="请输入" :min="9" type="number"></d-input>
    <p>value值：{{ valuemin }}</p>
  </div>
</template>
<script setup lang="ts">
  import { ref } from 'vue'
  const value = ref('')
  const valuemax = ref('')
  const valuemin = ref('')
</script>
